<include file="../Public/_top" />
<div class="content">
  <div class="wrap">
    <div class="con_side">
      <ul class="nav">
        <li><a href="{:U('public/Resources/index')}">培训资讯</a></li>
        <li><a href="{:U('public/Resources/TeacherResources')}">学习资源</a></li>
      </ul>
    </div>
    <div class="con_main">
      <div class="con_tit">
        <span>资源详情</span>
      </div>
        <div class="con_box">
            <p style="width:99%;font-weight:bold;margin-top:-10px;font-size:16px;font-family:'新宋体';">
              <if condition="$data['type'] eq 1" >
                <a href="{:U('public/Resources/index')}">培训资源</a> > <a href="{:U('public/Resources/index')}">{$data.type_name}</a>
              <else/>
                <a href="{:U('public/Resources/TeacherResources')}">学习资源</a> > <a href="{:U('public/Resources/index')}">{$data.type_name}</a>
              </if>
            </p>
            <p style="font-size:24px;">{$data.resource_name}</p>
            <div style="height:20px;width:100%;margin-top:10px;">
                <div style="float:left;width:200px;">上传时间：{$data.ctime|date='Y-m-d',###}</div>
                <div style="float:right;width:200px;">学习人数：{$data['learn_sum']} 人</div>
            </div>
            <div style="width:100%;height:550px;margin:15px 0px 15px 0px;background:#302f2f;">
              <video src="{$data['file_url']}" controls="controls" style="width:100%;height:100%;">
              </video>
            </div>
            <div style="font-size:16px;font-family:'新宋体';font-weight:bold;">资源介绍</div>
            <div style="margin:15px 0px 15px 0px;padding:5px;line-height:22px;font-size:12px;width:99%;">{$data.resource_info}</div>
            <div style="margin-top:10px;font-size:16px;font-family:'新宋体';font-weight:bold;">推荐资源</div>
            <div style="width:100%;margin:15px 0px 15px 0px;height:120px;">
                <volist name="tj_data" id="tj">
                    <if condition="$key+1 neq 4">
                        <a href="{:U('admin/Resource/view',array('id'=>$tj['id']))}"><div style="width:20%;float:left;margin-right:6%;height:100%;"><img src="{$tj.img_url}" style="width:100%;height:100%;" /></div></a>
                    <else/>
                        <a href="{:U('admin/Resource/view',array('id'=>$tj['id']))}"><div style="width:20%;float:left;height:100%;"><img src="{$tj.img_url}" style="width:100%;height:100%;" /></div></a>
                    </if>
                </volist>
            </div>
        <div class="action_link tc">
          <a class="dowm" href="{:U('public/Resources/index')}">确定</a>
        </div>
      </div>
    </div>
  </div>
</div>
<include file="__THEME__/public_footer" />